<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>分享编辑页面 </title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="jquery/css/recomand/jquery-ui-1.9.0.custom.css" rel="stylesheet">
	<link href="css/jPages.css" rel="stylesheet">
	<link href="css/sharecss/sharepagedit.css" rel="stylesheet">
	<link href="uploadify/default.css" rel="stylesheet">
	<link href="uploadify/uploadify.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="css/login.css" /><script type="text/javascript" src="jquery/js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="uploadify/swfobject.js"></script>
	<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.0.js"></script>
	<script type="text/javascript" src="jquery/js/jquery-ui-1.8.23.custom.js"></script>
	<script type="text/javascript" src="js/jPages.js"></script>
	<script type="text/javascript" src="js/sharejs/sharepage_editor.js"></script>
	<script type="text/javascript" src="js/login.js"></script><style>
    	#myedit input{ border:1px solid #3CF; margin-bottom:10px; height:30px; }
		#myedit{width:563px; height:auto; background-color:rgb(210,227,235); 
		padding-top:10px; padding-left:50px; position:relative;left:0px;}
		div{border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;}
		iframe{border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;}
    </style>
  </head>
  <body><jsp:include page="../top.jsp"></jsp:include>
<br></br>
  	  <div id="Toshare_pageEdit_content" >
    <div class="Toshare_pageEdit_content_left">
    	<div class="Toshare_pageEdit_content_left_productioninfo" id="outside">
        	<div class="Toshare_pageEdit_content_left_productioninfo_img" id="use_fancybox_showimg">
            	<a href="" id="fancybox_showimg"><img src="img/test1.jpg" id="production_img" title="点击我试试" alt=${_id} }/></a>
            </div>
            <div class="Toshare_pageEdit_content_left_productioninfo_img_nevigator" id="productioninfo_img_nevigator">
                <div class="Toshare_pageEdit_turnleft_btn" id="turnleft_btn">
                	<img src="img/custom_selectleft.gif" id="previous_img"/>
                </div>
                <div class="Toshare_pageEdit_inner_a_style" id="inner_a_style" >
                </div>
                <div class="Toshare_pageEdit_turnright_btn" id="turnright_btn" >
                    <img src="img/custom_selectright.gif" id="next_img"/>
                </div>
            </div>
            <div class="Toshare_pageEdit_content_left_productionshare">
                <div class="Toshare_pageEdit_content_left_productionshare_moresharestyle" id="moresharestyle">
                	<a href=""><img src="img/login_db.png" alt="豆瓣" title="豆瓣"/></a>
                    <a href=""><img src="img/login_kj.png" alt="QQ空间" title="QQ空间"/></a>
                    <a href=""><img src="img/login_rr.png" alt="人人网" title="人人网"/></a>
                    <a href=""><img src="img/login_txwb.png" alt="腾讯微博" title="腾讯微博"/></a>
                    <a href=""><img src="img/login_xlwb.png" alt="新浪微博" title="新浪微博"/></a>
                    <a href=""><img src="img/more.png" id="moreshare_img" alt="更多分享"/></a>
                </div>
                <div class="Toshare_pageEdit_moreshareway" id="moreshare_list">
                	<div class="Toshare_pageEdit_moreshareway_title">
                    	分享到：
                    </div>
                    <div class="Toshare_pageEdit_moreshareway_content">
                    	<table><!--表格实现稍微好一点-->
                        	<tr>
                            	<td><img src=""/><a href="">本地收藏</a></td>
                                <td><img src="img/login_rr.png"/><a href="">人人网</a></td>
                                <td><img src="img/kaixin.png"/><a href="">开心网</a></td>
                            </tr>
                            <tr>
                            	<td><img src="img/login_xlwb.png"/><a href="">新浪微博</a></td>
                                <td><img src="img/souhubaishehui.png"/><a href="">搜狐白社会</a></td>
                                <td><img src="img/souhuweibo.png"/><a href="">搜狐微博</a></td>
                            </tr>
                            <tr>
                            	<td><img src="img/login_txwb.png"/><a href="">腾讯微博</a></td>
                                <td><img src="img/wangyiweibo.png"/><a href="">网易微博</a></td>
                                <td><img src="img/login_db.png"/><a href="">豆瓣九点</a></td>
                            </tr>
                            <tr>
                            	<td><img src="img/taobao.png"/><a href="">淘江湖</a></td>
                                <td><img src="img/login_kj.png"/><a href="">QQ空间</a></td>
                                <td><img src="img/更多.png"/ id="showmore"><a href="">更多分享</a></td>
                            </tr>
                        </table>
                    </div>
                    <div class="Toshare_pageEdit_moreshareway_bottom">
                    </div>
                </div>
            </div>
        </div>
        <div id="myedit">
			<input type="button" id="left" value="左对齐" title="左对齐"/>
			<input type="button" id="center" value="居中" title="居中"/>
			<input type="button" id="right" value="右对齐" title="右对齐"/>
			<input type="button" id="addimg" value="加图片" title="加图片"/>
			<input type="button" id="show" value="显示内容" title="显示内容"/>
			<input type="button" id="blod" value="加粗" title="加粗"/>
			<input type="button" id="reset" value="还原" title="还原"/>
			<input type="button" id="submit" value="确认编辑" title="提交编辑">
	  	</div>
	  	<!-- <iframe src="sharepage/sharepage_editor.html" style="border:1px solid #3CF; width:612px; height:300px;" id="nihao"></iframe> -->
	  	<div style="border:1px solid #3CF; width:612px; height:300px;overflow:auto;" contentEditable="true" id="Pro_content">${currentContent}</div>
	  	<div id="currentContent" style="display:none;">${currentContent}</div>
    </div>
    <div class="Toshare_pageEdit_content_right">
        <div id="itemContainer">	
    	</div>
    	<div class="holder">
        </div> 
    	<div style="width:100px; height:20px; 
    		border: 1px solid #0CF; background-color:#999; color:#309; cursor:pointer; 
    		text-align:center; font-size:20px; 
    		font-weight:800; padding:3px 0px 4px 0px; float:left; border-radius:5px;-webkit-border-radius:5px;
    		-moz-border-radius:5px;" id="selectfile">选择文件
		</div>
		<div></div>
	</div>
   </div>
   <div id="p_img" style="display:none;">${production_img}</div><div id="img_count" style="display:none;">${count}</div>   
   <div id="uploadfileorimg" title="文件上传" style="display:none;"></div>
  <jsp:include page="../bottom.jsp"></jsp:include></body>
</html>
